package com.learn.demo.netty.heartbeat;

import java.util.concurrent.TimeUnit;

/**
 * TestNanoTime
 *
 * @author banjiawei
 * @date 2022/01/21
 */
public class TestNanoTime {
    public static void main(String[] args) throws Exception{
        System.out.println(System.nanoTime());
        TimeUnit.SECONDS.sleep(1L);
        System.out.println(System.nanoTime());
    }
}
